package com.teaRestaurant.service;

import com.github.pagehelper.PageInfo;
import com.teaRestaurant.domain.DTO.OrderPageQueryDTO;
import com.teaRestaurant.domain.VO.DayDataVO;
import com.teaRestaurant.domain.entity.Orders;
import jakarta.servlet.http.HttpServletResponse;

import java.io.IOException;
import java.util.List;

public interface OrderService {
    PageInfo<Orders> list(OrderPageQueryDTO orderPageQueryDTO);

    String insert(Orders orders) ;

    void delete(List<Long> orderNos2);

    void update(Orders orders);

    Orders getById(String orderNo);

    DayDataVO getDayData();

    void exportBusinessData(HttpServletResponse response) throws IOException;

    void updateStatus(String orderNo, Integer status);

    void voice();
}
